Contiki Cooja Simulator:
- Contiki is an OS that designed mainly to help low power Internet of things devices. Contiki Cooja Simulator gives multitasking and TCP/IP stack . The contiki system has a simulator called Cooja which helps to simulate the contiki nodes.
-
Contiki Nodes:
- The contiki nodes can be classified into three classes. They are
1. Cooja Nodes
2. Emulated Nodes
3. Java Nodes
Contiki Cooja Simulator:
Cooja Nodes:
These type of node is compiled and executed on simulation host.
Emulated Nodes:
In these type of nodes hardware of each node is simulated.
Java Nodes:
In these type of nodes the node class is converted into java class.
Contiki Programs:
The contiki cooja programming is based on protothreads. Prothread is memory efficient programming language that has both the features like event-driven programming and multithreading. the kernal invokes the thread response to the external and internal event. These threads are scheduled correctly by the contiki kernel.
Starting Contiki Cooja Simulator:
One can start the simulator using the following commands
1. cd contiki -2.6/ tools/cooja
2. ant run
To create the new simulator go to File-> New Simulator and give the suitable title for the simulation. In cooja there will be simulator Interface that helps to control the simulation like to start, stop and reload it.
Setting Mote:
Cooja lets you to set the mode types to assign the program code. To set up the Mote click Motes -> Add Motes -> Create New Mote Type -> Sky Mote.
In the Contiki Cooja Process we have to specify the source file i.e .c file or binary file .sky file. Once after the source file is specified we have to compile the source code. The compilation results are present in the compilation output tab.
If the source code runs without any error the create button will be available . Next we have to create the UDP server nodes and Border Router. Now you able to set up the nodes and start the simulation.
We do projects for PhD, all students and scholars and help them to shine in their carreer.